<template>
    <img v-show="(index * 2) % timeRate == 0" class="imgItem" :src="source.url" alt="" />
</template>

<script setup lang="ts">
defineProps({
    index: {
        type: Number,
        default: 0
    },
    timeRate: {
        type: Number,
        default: 2
    },
    source: {
        type: Object,
        default() {
            return {};
        }
    }
});
</script>
<style scoped lang="scss">
.imgItem {
    width: 100px;
    height: 58px;
    margin-right: 5px;
    pointer-events: none;
}
</style>
